package cn.iocoder.yudao.module.trade.controller.admin.fruitcard.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 水果卡分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class FruitCardPageReqVO extends PageParam {

    @Schema(description = "卡片类型，关联字典表")
    private String cardType;

    @Schema(description = "次数")
    private Integer times;

    @Schema(description = "价格 分")
    private Integer price;

    @Schema(description = "有效期 月")
    private Integer validMonth;

    @Schema(description = "关联水果品种")
    private String fruitType;

    @Schema(description = "描述")
    private String description;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
